package com.anyou.mall.goo.specs.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import com.anyou.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.anyou.common.core.domain.BaseEntity;

/**
 * 规格值对象 spe_specs_value
 *
 * @author xq
 * @date 2022-03-28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper=false)
@ApiModel(value = "规格值")
@TableName(value = "spe_specs_value")
public class SpeSpecsValue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规格值编号 */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("规格值编号")
    private Long specsValueId;

    /** 规格编号 */
    @ApiModelProperty("规格编号")
    @Excel(name = "规格编号")
    private Long specsId;

    /** 规格值 */
    @ApiModelProperty("规格值")
    @Excel(name = "规格值")
    private String specsValue;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    @TableLogic(delval = "2" , value = "0")
    private String delFlag;



}
